import requests

login_url = 'https://www.gying.org/user/login/'
session = requests.Session()

data = {
    'username':'wer111',
    'password':'Wert123456',
}
login_response = session.post(login_url, data=data)
cookies = {cookie.name: cookie.value for cookie in login_response.cookies}

url = 'https://www.gying.org/user/favorite'

headers = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 Edg/142.0.0.0',
    'cookie': f"{cookies}"
    # 'Referer': 'https://www.gying.org/user/login/',
}
response = session.get(url, headers=headers)
print(response.text)